﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using WisDom.SmartTMS.Dto;

namespace WisDom.SmartTMS.InterFace
{
    /// <summary>
    /// 承运接口
    /// </summary>
    public interface ITMSContractCarrierService
    {
        /// <summary>
        /// 显示合同信息
        /// </summary>
        /// <returns></returns>
        Task<PagedResultDto<TMSContractCarrierDto>> GetCarrierAsync(PagedAndSortedResultRequestDto input);
        /// <summary>
        /// 获取一条信息
        /// </summary>
        /// <returns></returns>
        Task<TMSContractCarrierDto> GetTheCarrierAsync(Guid id);

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task<TMSContractCarrierDto> AddCarrierAsync(TMSContractCarrierDto data);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task UpdateCarrierAsync(TMSContractCarrierDto data);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        Task DeleteCarrierAsync(Guid ids);

    }
}
